//
//  BGProductDetialDataModel.m
//  bigMall
//
//  Created by LTOVE on 16/7/26.
//  Copyright © 2016年 thinklev. All rights reserved.
//

#import "BGProductDetialDataModel.h"
#import "BGMessageNameAndValueModel.h"
@implementation BGProductDetialDataModel

- (NSArray *)middleViewDataArray
{
    NSString *one = @"供应量";
    NSString *two = @"单价";
    NSString *three = @"浏览人气";
    NSMutableArray *array = [[NSMutableArray alloc]init];
    BGMessageNameAndValueModel *oneModel = [[BGMessageNameAndValueModel alloc]init];
    BGMessageNameAndValueModel *twoModel = [[BGMessageNameAndValueModel alloc]init];
    BGMessageNameAndValueModel *threeModel = [[BGMessageNameAndValueModel alloc]init];
    oneModel.title = _supplyQuantityStr;
    oneModel.value = _supplyQuantity;
    [array addObject:oneModel];
    twoModel.title = _priceStr;
    twoModel.value = _price;
    [array addObject:twoModel];
    threeModel.title = _browsePopularityStr;
    threeModel.value = _browsePopularity;
    [array addObject:threeModel];
    return array;
}

//- (BOOL)isDouble
//{
//    if (!_isDouble) {
//        _isDouble = YES;
//    }
//    return _isDouble;
//}

@end
